#ifndef RECBOXITEM_H
#define RECBOXITEM_H

#include <QWidget>
#include <QPropertyAnimation>
#include <QDebug>
#include "mlabel.h"

namespace Ui {
class recBoxItem;
}

class recBoxItem : public QWidget
{
    Q_OBJECT

public:
    explicit recBoxItem(QWidget *parent = nullptr);
    ~recBoxItem();
   bool eventFilter(QObject*watched,QEvent*event);
    void setRecText(const QString&text);
    void setRecImage(const QString&imagePath);
private:
    Ui::recBoxItem *ui;
};

#endif // RECBOXITEM_H
